App({
  onLaunch: function (e) {
    var t = wx.getSystemInfoSync(),
      a = t.screenHeight,
      n = t.windowWidth,
      i = a * (750 / n);
    this.globalData.winHeight = i, this.globalData.winWidth = n, this.globalData.statusBarHeight = t.statusBarHeight,
      this.globalData.headerBtnPosi = wx.getMenuButtonBoundingClientRect();
    var o = wx.getLaunchOptionsSync();
    this.globalData.scene = o.scene;
  },
  openPageMore: function () {
    getCurrentPages().length >= 10 && wx.showToast({
      title: "页面打开太多，请回退关闭几个页面",
      icon: "none",
      duration: 2e3
    });
  },
  globalData: {
    winHeight: "",
    winWidth: "",
    statusBarHeight: "",
    headerBtnPosi: {},
    sence: "",
    skey: "",
    key: ""
  }
});